package com.woniuxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.entity.AdminUser;
import com.woniuxy.entity.Perms;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermMapper extends BaseMapper<Perms> {
    //连表查询，通过角色id查询出所有需要的权限
    List<Perms> findsByRid(int rid);
}
